package com.ktjy.mapper;

import com.ktjy.pojo.StorageRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StorageRecordMapper {
    public List<StorageRecord> selectStorageRecord(@Param("goodsName") String goodsName,
                                                   @Param("supplierId") Integer supplierId,
                                                   @Param("payStatus") Integer payStatus,
                                                   @Param("pageBegin") Integer pageBegin,
                                                   @Param("pageSize") Integer pageSize);

    public int insertStorageRecord(StorageRecord record);

    public int updateStorageRecord(StorageRecord record);

    public int deleteStorageRecord(@Param("id") Integer id);

    public StorageRecord selectStorageRecordById(@Param("id") Integer id);
}
